package com.pt25.base.dep.shardingjdbc.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 数据库配置列表
 */
@Data
@Component("dbPropertyList")
@ConfigurationProperties(prefix = "db-configs")
public class DbPropertyList {
    /**
     * 默认集成名称
     */
    private String primary;

    private List<DbProperty> configs;
}
